package com.example.zjx.mvp_logindemo.bean;

import com.google.gson.Gson;

/**
 * Created by zjx on 2018
 */

public class User implements java.io.Serializable{
     private int id=0;
     private  String username="";
     private  String userage="";
     private  String usersex="";

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserage() {
        return userage;
    }

    public void setUserage(String userage) {
        this.userage = userage;
    }

    public String getUsersex() {
        return usersex;
    }

    public void setUsersex(String usersex) {
        this.usersex = usersex;
    }

    @Override
    public String toString() {

        return new  Gson().toJson(this);
    }
}
